﻿@{
	Layout = "_LayoutOfAll";
}

<header>
	<div class="navbar navbar-expand-md navbar-light fixed-top" style="background-color: #e3f2fd;">
		<div class="container-lg p-0">
			@*这样导航最右边的下拉框才不会被遮挡*@
			<a href="/School" data-toggle="tooltip">
				<img src="/images/源栈-logo.ico" alt="源栈Logo" />
			</a>
			<div class="navbar-text mr-auto ml-2 ">
				<span style="font-size:18px; font-weight:600;">源栈</span>
				<span class="d-none d-sm-inline">先学习后付费，不满意不付费</span>
			</div>
			<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
				<span class="navbar-toggler-icon"></span>
			</button>
			<div class="collapse navbar-collapse" id="navbarNavDropdown">
				<ul class="navbar-nav ml-auto">
					<vc:navigator></vc:navigator>
				</ul>
			</div>
		</div>
	</div>
</header>
<main role="main" class="pb-3">
	<div class="container">
		@RenderBody()
	</div>
</main>
<footer class="border-top footer text-muted">
	<div class="container">
		&copy; 2024 - UI - <a asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
	</div>
</footer>

@section Scripts{
	@await RenderSectionAsync("Scripts", required: false)
}
